old=`awk -v RS="</*SpecialInfo>" 'NR==2{print}' VersionInfo.xml`
new=`cat cat new.txt`
echo $old
echo $new
if [ $old = $new ]
then
   echo "2个版本一样,不能更新"
else
   echo "进行更新"
   sed -i "s/${old}/${new}/g" VersionInfo.xml
   ps -aux | grep 9000 | awk '{print $2}' | xargs kill | nohup python3 server.py &
fi
